package com.library.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private Integer id;
    private String username;//用户名
    private String password;//密码
    private String email;//邮箱
    private String phone;//手机号码
    private String role;//用户角色
    private Date createdAt;//创建时间
}

